import Vue from 'vue'
import VueRouter from 'vue-router'
import Admin from '../components/admin'
import Plus from '../components/plus'
import resetShop from "../components/resetShop";

Vue.use(VueRouter)

const routes = [
  {path: '/', redirect: '/admin'},
  {path:'/admin',component:Admin},
  {path:'/plus',component:Plus},
  {path:'/resetShop',component:resetShop}

]

const router = new VueRouter({
  routes
})

export default router
